package com.ahora.org.ejb.dao.interfaces;

import java.util.List;

import javax.ejb.Local;

import com.ahora.org.ejb.jpa.beans.AreaDTO;
import com.ahora.org.ejb.jpa.entities.Area;
import com.ahora.org.ejb.jpa.entities.Usuario;
@Local
public interface AreaDAO {
	public abstract Area buscarAreaUnique(int idArea);
	public abstract String updateArea(Area objTipoArea);
	public abstract String insertarArea(Area area);
	public abstract String deleteArea(int idArea, Usuario obUserLog);
	public abstract List<AreaDTO> listarSubAreas();
	public abstract String insertarSubArea(Area area, Usuario obUserLog, int id);
	public abstract String getUltCodSubArea(int id);
	public abstract List<AreaDTO> obtenerListaUnidadesOrganicas();
	public abstract String eliminarGrupoTrabajo(int idArea);
	public abstract List<Area> listarUnidadesGestion();
	public abstract String supervisorUnidadGestion(int area);	
}
